package com.bhatni.messageprocessor.macro;

import com.bhatni.messageprocessor.Message;
import com.bhatni.messageprocessor.macro.BaseMacro;
import java.util.Properties;

/**
 * The Macro value is the string specified in the Value property.
 */
public class ConstValue extends BaseMacro {

    private String value;

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String getResolvedValue(Message in) {
        return value;
    }
}
